package cn.neusoft.neusoft_fz.service.impl;


import cn.neusoft.neusoft_fz.mapper.InvoiceMapper;
import cn.neusoft.neusoft_fz.mapper.PaymentMapper;
import cn.neusoft.neusoft_fz.service.InvoiceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.entity.Invoice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2023-06-25
 */
@Service
public class InvoiceServiceImpl extends ServiceImpl<InvoiceMapper, Invoice> implements InvoiceService {

    @Autowired
    PaymentMapper paymentMapper;

    @Override
    public List<Invoice> getBySubstationId(String subid) {
        return paymentMapper.betBySubstationId(subid);
    }
}
